/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.cggveritas.crewintranet.security.filter;

import java.util.ArrayList;
import java.util.List;
import java.util.logging.Filter;
import java.util.logging.LogRecord;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;

/**
 *
 * @author Alassane
 */
public class LoginCheckFilter extends AbstractFilter implements Filter{
    
    private static List<String> allowedURIs;
    private FilterConfig filterConfig = null;
    
   public void init(FilterConfig fConfig) throws ServletException {
       if(allowedURIs==null){
           allowedURIs = new ArrayList<String>();
//           allowedURIs.add(fConfig.getInitParameter(''));
           
           allowedURIs.add("/crewintranetjs/");
       }
       this.filterConfig = fConfig;
   }

    @Override
    public boolean isLoggable(LogRecord record) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
